﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace AFCEPF.BankApplication.BLL
{
    /// <summary>
    /// Exception raised by the
    /// AccountFactory class when an invalid
    /// deposit is passed to the factory method.
    /// </summary>
    public class InvalidDepositException : ApplicationException
    {
        ///// <summary>
        ///// ctor
        ///// </summary>
        //public InvalidDepositException() : this("")
        //{}

        /// <summary>
        /// ctor
        /// </summary>
        /// <param name="message">The message.</param>
        public InvalidDepositException(string message)
            :this(message, null)
        { }

        /// <summary>
        /// ctor
        /// </summary>
        /// <param name="message">The message.</param>
        /// <param name="inner">The inner Exception.</param>
        public InvalidDepositException(string message, Exception inner)
            : base(message, inner)
        { }



    }
}
